package com.dearbinge.data.service.impl.admin;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dearbinge.data.api.admin.AdminSecurityUserService;
import com.dearbinge.data.dao.admin.AdminSecurityUserMapper;
import com.dearbinge.data.dao.cart.CartMapper;
import com.dearbinge.data.pojo.admin.AdminSecurityUser;
@Service("adminSecurityUserService")
public class AdminSecurityUserServiceImpl implements AdminSecurityUserService {


	@Autowired
	private AdminSecurityUserMapper adminSecurityUserMapper;


	@Override
	public int insert(AdminSecurityUser record) {
		 return adminSecurityUserMapper.insert(record);
	}

	@Override
	public int updateByPrimaryKeySelective(AdminSecurityUser record) {
		return adminSecurityUserMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public AdminSecurityUser loginUser(String name, String password) {
		 AdminSecurityUser loginUser = adminSecurityUserMapper.loginUser(name,password);
		 return loginUser;
	}




	@Override
	public List<AdminSecurityUser> selectByExample(AdminSecurityUser example) {
		return null;
	}

	@Override
	public int updateByPrimaryKey(AdminSecurityUser record) {
		return 0;
	}


	@Override
	public int countByExample(AdminSecurityUser example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteByExample(AdminSecurityUser example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}



	@Override
	public int insertSelective(AdminSecurityUser record) {
		// TODO Auto-generated method stub
		return 0;
	}



	@Override
	public AdminSecurityUser selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updateByExampleSelective(AdminSecurityUser record,
			AdminSecurityUser example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByExample(AdminSecurityUser record,
			AdminSecurityUser example) {
		// TODO Auto-generated method stub
		return 0;
	}







}